<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>common_setup (Autotest::AutotestHelper)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File vendor\plugins\rspec/spec/autotest/rspec_spec.rb, line 28</span>
    <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">common_setup</span>
      <span class="ruby-ivar">@proc</span> = <span class="ruby-identifier">mock</span> <span class="ruby-constant">Proc</span>
      <span class="ruby-ivar">@kernel</span> = <span class="ruby-identifier">mock</span> <span class="ruby-constant">Kernel</span>
      <span class="ruby-ivar">@kernel</span>.<span class="ruby-identifier">stub!</span>(<span class="ruby-identifier">:proc</span>).<span class="ruby-identifier">and_return</span> <span class="ruby-ivar">@proc</span>

      <span class="ruby-constant">File</span>.<span class="ruby-identifier">stub!</span>(<span class="ruby-identifier">:exists</span>).<span class="ruby-identifier">and_return</span> <span class="ruby-keyword kw">true</span>
      <span class="ruby-ivar">@windows_alt_separator</span> = <span class="ruby-value str">&quot;\\&quot;</span>
      <span class="ruby-ivar">@posix_separator</span> = <span class="ruby-value str">'/'</span>

      <span class="ruby-ivar">@rspec_output</span> = <span class="ruby-identifier">rspec_output</span>
    <span class="ruby-keyword kw">end</span></pre>
</body>
</html>